package com.eascs.notice.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="o2o_payments_plan")
public class O2oNoticeLetterFindEntity {

	/**
	 * 期数
	 */
	@Column(name = "periods")
	private int periods;
	/**
	 * 计划还款时间
	 */
	@Column(name = "payments_date")
	private Date payments_date;
	/**
	 * 计划还款本金
	 */
	@Column(name = "pay_principal")
	private BigDecimal pay_principal;
	/**
	 * 计划还款利息
	 */
	@Column(name = "pay_interest")
	private BigDecimal pay_interest;

	/**
	 * 本期应还总额
	 */
	@Column(name = "pay_total")
	private BigDecimal pay_total;

	public void setPeriods(int periods) {
		this.periods = periods;
	}

	public int getPeriods() {
		return periods;
	}

	public void setPayments_date(Date payments_date) {
		this.payments_date = payments_date;
	}

	public Date getPayments_date() {
		return payments_date;
	}

	public void setPay_principal(BigDecimal pay_principal) {
		this.pay_principal = pay_principal;
	}

	public BigDecimal getPay_principal() {
		return pay_principal;
	}

	public void setPay_interest(BigDecimal pay_interest) {
		this.pay_interest = pay_interest;
	}

	public BigDecimal getPay_interest() {
		return pay_interest;
	}

	public BigDecimal getPay_total() {
		return pay_total;
	}

	public void setPay_total(BigDecimal pay_total) {
		this.pay_total = pay_total;
	}

	// public Date getBankMountTime() {
	// return bankMountTime;
	// }
	//
	// public void setBankMountTime(Date bankMountTime) {
	// this.bankMountTime = bankMountTime;
	// }

}
